<div ng-if="pagedata.op=='list'" class="fui-page fui-page-current page-commission-down">
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back" ng-click="goback();"></a>
        </div>
        <div class="title">参与记录</div>
    </div>
    <div class="fui-content">
        <div  class="fui-list-group" id="container" >
		<div ng-repeat="item in pagedata.list track by item.id" class="fui-list" style="height: 3.5rem">
			<div class="fui-list-media">
				<img ng-src="{{tomedia(item.member.avatar) ||'../core/resource/images/nopic.jpg'}}" class="round" style="width:2rem;height:2rem">
			</div>
			<div class="fui-list-inner">
				<div class="row">
				      <div class="row-text" >
					 {{item.member.nickname || '无'}} <span class="red jy-title-sm">({{item.member.sex==1?'男':'女'}})</span>
				      </div>
				</div>
				<div class="subtitle">
				    电话：{{item.member.mobile || '无'}}
				</div>
			</div>
			<div class="row-remark">
				<div ng-click="access_json('/merch.sao_log/videodata/id='+item.id)" class="jylabel jylabel-f60">视频数据</div>
				<div class="subtitle">{{item.createtime}}</div>
			</div>
		</div>
		</div>
		<div class='infinite-loading' style="display:none" id="loading_show"><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
		<div ng-if="pagedata.list.length==0" class='content-empty'>
			<i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i>
			<br/>
			<p style="color: #999;font-size: .75rem">暂时没有任何数据</p>
		</div>
    </div>
</div>
<div ng-if="pagedata.op=='videodata'" class='fui-page fui-page-current'>
	<link rel="stylesheet" href="../addons/jy_merch/css/mobile.css?v=1">
	<style>
	.jylabel-switch.active{
		border-radius:1.5rem;
		background-color:#000;
		color:#fff;
	}
	.fui-block-group .fui-block-child:before {
		border-right: 0 solid #ececec;
	}
	.fui-block-group .fui-block-child .text {
		height:2rem;
		font-size: 1.1rem;
		text-align: center;
		color: #f60;
		line-height: 2rem;
	}
	</style>
    <div class="fui-header fui-header-success" style="background:#000">
        <div class="fui-header-left"></div>
        <div class="title">视频数据</div>
    </div>
    <div class='fui-content' style="margin-top:2.8rem">
		<div class="group" style="padding:0 0.5rem">
            <div class="fui-cell-group">
                <a class="fui-cell external">
                    <div class="fui-cell-icon"><i class="icon icon-rejectedorder"></i></div>
                    <div class="fui-cell-text">视频数据</div>
                    <div class="fui-cell-remark">全部</div>
                </a>
            </div>
			<div class="fui-block-group col-3">            
					<a class="fui-block-child">
                        <div class="title">最近30天平均播放时长</div>
                        <div class="text">{{pagedata.item.avg_play_duration || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">最近30天评论数</div>
                        <div class="text">{{pagedata.item.total_comment || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">最近30天点赞数</div>
                        <div class="text">{{pagedata.item.total_like || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">最近30天播放数</div>
                        <div class="text">{{pagedata.item.total_play || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">视频最近30天分享数</div>
                        <div class="text">{{pagedata.item.total_share || 0}}</div>
                    </a>
            </div>
		</div>
    </div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_douyintui/merch.sao_log/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_douyintui/merch.sao_log/list/');
}
</script>

